<?php

date_default_timezone_set('Asia/Yekaterinburg');

set_include_path(implode(PATH_SEPARATOR,
    array(
        get_include_path(),
        '..',
        dirname(dirname(__FILE__))
    )));

require_once 'components/utils/debug_utils.php';

Warning::BeginSuppress(PHPWarning::$Deprecated);
Warning::BeginSuppress(PHPWarning::$Strict);

require_once 'simpletest/autorun.php';
require_once 'simpletest/mock_objects.php';
require_once 'simpletest/reporter.php';

$test = new GroupTest();
$test->addFile('datafilter_test.php');
$test->addFile('datareader_tests.php');
$test->addFile('select_command_builder_tests.php');
$test->addFile('select_command_tests.php');
$test->addFile('vertical_grid_processor_test.php');
$test->addFile('vertical_grid_test.php');
$test->addFile('dataset_tests.php');

$test->run(new HtmlReporter());

?>